home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / XmVaCreateSimpleCheckBox.z / XmVaCreateSimpleCheckBox
Text File  |  1998-10-30  |  10KB  |  199 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmVVVVaaaaCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeCCCChhhheeeecccckkkkBBBBooooxxxx((((3333XXXXUUUU))))NNNNIIIIXXXX SSSSyyyysssstttteeeemmmmXXXXVVVVmmmmVVVVaaaaCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeCCCChhhheeeecccckkkkBBBBooooxxxx((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmVVVVaaaaCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeCCCChhhheeeecccckkkkBBBBooooxxxx - A RowColumn widget convenience
  10.           creation function
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           #include <Xm/RowColumn.h>
  14.           WWWWiiiiddddggggeeeetttt XXXXmmmmVVVVaaaaCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeCCCChhhheeeecccckkkkBBBBooooxxxx(
  15.           WWWWiiiiddddggggeeeetttt ppppaaaarrrreeeennnntttt,
  16.           SSSSttttrrrriiiinnnngggg nnnnaaaammmmeeee,
  17.           XXXXttttCCCCaaaallllllllbbbbaaaacccckkkkPPPPrrrroooocccc ccccaaaallllllllbbbbaaaacccckkkk);
  18.  
  19.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  20.           This page documents Motif 2.1.
  21.  
  22.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  23.           XXXXmmmmVVVVaaaaCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeCCCChhhheeeecccckkkkBBBBooooxxxx creates an instance of a RowColumn
  24.           widget of type XXXXmmmmWWWWOOOORRRRKKKK____AAAARRRREEEEAAAA and returns the associated widget
  25.           ID.  This routine uses the ANSI C variable-length argument
  26.           list (_v_a_r_a_r_g_s) calling convention.
  27.  
  28.           This routine creates a CheckBox and its ToggleButtonGadget
  29.           children.  A CheckBox is similar to a RadioBox, except that
  30.           more than one button can be selected at a time.  The name of
  31.           each button is bbbbuuuuttttttttoooonnnn_____n, where _n is an integer from 0 (zero)
  32.           to the number of buttons in the menu minus 1.  Buttons are
  33.           named and created in the order in which they are specified
  34.           in the variable portion of the argument list.
  35.  
  36.           _p_a_r_e_n_t    Specifies the parent widget ID.
  37.  
  38.           _n_a_m_e      Specifies the name of the created widget.
  39.  
  40.           _c_a_l_l_b_a_c_k  Specifies a callback procedure to be called when a
  41.                     button's value changes.  This callback function is
  42.                     added to each button after creation as the
  43.                     button's XXXXmmmmNNNNvvvvaaaalllluuuueeeeCCCChhhhaaaannnnggggeeeeddddCCCCaaaallllllllbbbbaaaacccckkkk.  The callback
  44.                     function is called when a button's value changes,
  45.                     and the button number is returned in the
  46.                     _c_l_i_e_n_t__d_a_t_a field.
  47.  
  48.           The variable portion of the argument list consists of groups
  49.           of arguments.  The first argument in each group is a
  50.           constant or a string and determines which arguments follow
  51.           in that group.  The last argument in the list must be NULL.
  52.           The following list describes the possible first arguments in
  53.           each group of _v_a_r_a_r_g_s:
  54.  
  55.           XXXXmmmmVVVVaaaaCCCCHHHHEEEECCCCKKKKBBBBUUUUTTTTTTTTOOOONNNN
  56.                     This is followed by four additional arguments. The
  57.                     set specifies one button in the CheckBox and some
  58.                     of its resource values.  The following list
  59.                     describes the additional four arguments, in order.
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmVVVVaaaaCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeCCCChhhheeeecccckkkkBBBBooooxxxx((((3333XXXXUUUU))))NNNNIIIIXXXX SSSSyyyysssstttteeeemmmmXXXXVVVVmmmmVVVVaaaaCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeCCCChhhheeeecccckkkkBBBBooooxxxx((((3333XXXX))))
  71.  
  72.  
  73.  
  74.                     _l_a_b_e_l     The label string, of type XXXXmmmmSSSSttttrrrriiiinnnngggg
  75.  
  76.                     _m_n_e_m_o_n_i_c  The mnemonic, of type KKKKeeeeyyyySSSSyyyymmmm. This is
  77.                               ignored in this release.
  78.  
  79.                     _a_c_c_e_l_e_r_a_t_o_r
  80.                               The accelerator, of type SSSSttttrrrriiiinnnngggg. This is
  81.                               ignored in this release.
  82.  
  83.                     _a_c_c_e_l_e_r_a_t_o_r__t_e_x_t
  84.                               The accelerator text, of type XXXXmmmmSSSSttttrrrriiiinnnngggg.
  85.                               This is ignored in this release.
  86.  
  87.           _r_e_s_o_u_r_c_e__n_a_m_e
  88.                     This is followed by one additional argument, the
  89.                     value of the resource, of type _X_t_A_r_g_V_a_l. The pair
  90.                     specifies a resource and its value for the
  91.                     RowColumn widget.
  92.  
  93.           XXXXttttVVVVaaaaTTTTyyyyppppeeeeddddAAAArrrrgggg
  94.                     This is followed by four additional arguments. The
  95.                     set specifies a resource and its value for the
  96.                     RowColumn widget. A resource type conversion is
  97.                     performed if necessary. Following are the
  98.                     additional four arguments, in order:
  99.  
  100.                     _n_a_m_e      The resource name, of type SSSSttttrrrriiiinnnngggg
  101.  
  102.                     _t_y_p_e      The type of the resource value supplied,
  103.                               of type SSSSttttrrrriiiinnnngggg
  104.  
  105.                     _v_a_l_u_e     The resource value (or a pointer to the
  106.                               resource value, depending on the type
  107.                               and size of the value), of type _X_t_A_r_g_V_a_l
  108.  
  109.                     _s_i_z_e      The size of the resource value in bytes,
  110.                               of type _i_n_t
  111.  
  112.           XXXXttttVVVVaaaaNNNNeeeesssstttteeeeddddLLLLiiiisssstttt
  113.                     This is followed by one additional argument of
  114.                     type XtVarArgsList. This argument is a nested list
  115.                     of _v_a_r_a_r_g_s returned by XXXXttttVVVVaaaaCCCCrrrreeeeaaaatttteeeeAAAArrrrggggssssLLLLiiiisssstttt.
  116.  
  117.           For more information on variable-length argument lists, see
  118.           the X Toolkit Intrinsics documentation.
  119.  
  120.           A number of resources exist specifically for use with this
  121.           and other simple menu creation routines.  For a complete
  122.           definition of RowColumn and its associated resources, see
  123.           XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn(3).
  124.  
  125.      RRRREEEETTTTUUUURRRRNNNN
  126.  
  127.  
  128.  
  129.      PPPPaaaaggggeeee 2222                                         ((((pppprrrriiiinnnntttteeeedddd 11110000////22224444////99998888))))
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      XXXXmmmmVVVVaaaaCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeCCCChhhheeeecccckkkkBBBBooooxxxx((((3333XXXXUUUU))))NNNNIIIIXXXX SSSSyyyysssstttteeeemmmmXXXXVVVVmmmmVVVVaaaaCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeCCCChhhheeeecccckkkkBBBBooooxxxx((((3333XXXX))))
  137.  
  138.  
  139.  
  140.           Returns the RowColumn widget ID.
  141.  
  142.      RRRREEEELLLLAAAATTTTEEEEDDDD
  143.           XXXXmmmmCCCCrrrreeeeaaaatttteeeeRRRRaaaaddddiiiiooooBBBBooooxxxx(3), XXXXmmmmCCCCrrrreeeeaaaatttteeeeRRRRoooowwwwCCCCoooolllluuuummmmnnnn(3),
  144.           XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeCCCChhhheeeecccckkkkBBBBooooxxxx(3), XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeRRRRaaaaddddiiiiooooBBBBooooxxxx(3),
  145.           XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn(3), and XXXXmmmmVVVVaaaaCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeRRRRaaaaddddiiiiooooBBBBooooxxxx(3).
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.      Page 3                                         (printed 10/24/98)
  196.  
  197.  
  198.  
  199.